//
//  SSCheckDate.swift
//  BBetter
//
//  Created by Gmc on 2020/4/4.
//  Copyright © 2020 Gmc. All rights reserved.
//

import Foundation

struct CheckDate {
    static func check(date: String) -> Bool {
        let now = Date()
        let formatter = DateFormatter()
        formatter.dateFormat = "MM-dd"
        let dateStr:String = formatter.string(from: now)
        if (dateStr == date) {
            return true
        }
        return false
    }
}
